package server

import (
	"context"
	"net"

	"fly.org/pool"
)

type Server interface {
	Start()
	Stop()
	Do()
}

type BaseServer struct {
	Ip        string
	Port      uint16
	Context   context.Context
	Pool      *pool.WorkerPool
	IsRunning bool
}

type Connection struct {
	conn net.Conn
}
